package com.example.behaviour.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ap_user_msg")
public class ApUserMsg {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("content")
    private String content;

    @TableField("type")
    private Integer type;

    @TableField("fromUser")
    private String fromUser;

    @TableField("createdTime")
    private Date createdTime;

    @TableField("isRead")
    private Integer isRead;

    @TableField("userId")
    private Integer userId;

    @TableField("fromId")
    private Integer fromId;

    @TableField("articleId")
    private String articleId;
}
